<?php

namespace G4T\Log;

class LogFactory
{
    /**
     * @static
     * @return \Zend_Log
     */
    public static function getLogger()
    {
        $logFile = APPLICATION_PATH . DIRECTORY_SEPARATOR . 'logs' . DIRECTORY_SEPARATOR . 'g4t.log';
        $writer = new \Zend_Log_Writer_Stream($logFile);

        return new \Zend_Log($writer);
    }
}
